Author: Halfvares Mats, Teknikhuset AB.

Published: 2005-08-17

Applies to:
  • Content Studio ver. 4.0

Type: How to


More information

Content Studio has a built in image processing functionality that make it possible to control the dimensions and size of uploaded picture files. Up to three different version of the same picture can exist in any combination; High resolution (keep the original), a Web version (always 72 dpi) and a Thumbnail version. Normally only the web version is returned but the other version can be linked to easily. Automatic image processing must be activated per binary file category and supports the JPEG, GIF and PNG image formats.
 
Naming standard
 
  • The Web version always has the original file name and will answer by the document's (picture's) ID ex. default.asp?id=12475.
  • The high resolution version if used will have the same name as the original file name with the suffix "~__H" (without the quotes) just before the file extension. Ex. if the original image file is called "MyPicture.gif" the high resolution version will be named "MyPicture~__H.gif.
  • The thumbnail version if used will have the same name as the original file name with the suffix "~__T" (without the quotes) just before the file extension. Ex. if the original image file is called "MyPicture.gif" the thumbnail version will be named "MyPicture~__T.gif.

Using the non default versions

To display the thumbnail you first insert the original image as usual. The image now points to the normal web version of the file. In the Webitor double click on the image and change the name of the inserted image according to the logic above.